package com.jiyun.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 采购订单物料表
 * </p>
 *
 * @author 聪哥哥
 * @since 2023-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CaigouOrderMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String orderId;

    private Integer materialId;

    /**
     * 单价
     */
    private Integer num;

    private BigDecimal unitPrice;

    /**
     * 单位
     */
    private String unit;

    /**
     * 总金额，单价*数量
     */
    private BigDecimal money;

    /**
     * 备注、摘要
     */
    private String remark;


}
